package com.xu.cloud.common.api;

import org.springframework.web.bind.annotation.ResponseBody;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * api注解
 *
 * @author xuguan
 * @since 2025/1/16
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@ResponseBody
public @interface XuApi {

    /**
     * bean name
     */
    String value() default "";

    /**
     * api path
     */
    String[] path() default {};
}
